﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuiZe.education.Model
{
    public class CourseResourceCenterModel : ModelBase
    {


    }


    public class ReqCourseSourceModel
    {

        public string token { get; set; }

        public string class_id { get; set; }
    }
    public class ReqCourseDirModel
    {

        public string token { get; set; }
        public string item_id { get; set; }
        


    }
    public class ReqCourseDirModel2
    {

        public string token { get; set; }
        public string kind_item_id { get; set; }



    }


    

    public class ReqCourseSourceListModel
    {
        public int id { get; set; }
        public string token { get; set; }
        public int tags { get; set; }
    }
   




    public class resCourseResourceMainModel
    {

        public int id { get; set; }
        public string kind_name { get; set; }
        public int updatetime { get; set; }
        public int deletetime { get; set; }

        public List<resCourseResourceModel> kind_item { get; set; }
    }

    public class resCourseResourceModel
    {

        public int id { get; set; }
        public int resources_kind_id { get; set; }
        public string kind_item_name { get; set; }
        public int updatetime { get; set; }
        public int deletetime { get; set; }
        public int kind_item_id { get; set; }

    }

    public class resCourseDirMainModel
    {

        public int id { get; set; }
        public int resources_kind_id { get; set; }
        public int resources_kind_item_id { get; set; }
        public string chapter_name { get; set; }

        public List<resCourseDirChildModel> dir_item { get; set; }
    }

    public class resCourseDirChildModel
    {

        public int id { get; set; }
        public int kind_item_class_id { get; set; }
        public int kind_item_course_id { get; set; }
        public int kind_item_chapter_id { get; set; }
        
        public string dir_name { get; set; }
        public int dir_name_id { get; set; }

        public resCourseDirMainModel _parent;
    }

   


    public class resCourseTagMainModel
    {

        public int code { get; set; }
        public string msg { get; set; }
        public int time { get; set; }

        public List<resCourseTagChildModel> data { get; set; }

    }


    public class resCourseTagChildModel
    {

        public int id { get; set; }

       
        public string tag_name { get; set; }
        public string state { get; set; }
        public int createtime { get; set; }
        public int weigh { get; set; }
        public int tag_id { get; set; }
       
    }

    public class resCourseListModel
    {

        public int code { get; set; }
        public string msg { get; set; }
        public int time { get; set; }

        public List<resCourseListChildModel> data { get; set; }

    }


    public class resCourseListChildModel
    {
        /// <summary>
        /// 出处类型
        /// 课程资源：0；
        /// 资源中心：1；
        /// 我的空间：2
        /// </summary>
        public int type_token { get; set; }

        public int id { get; set; }
        public string resources_name { get; set; }
        public string desc { get; set; }
        public int kind_item_class_id { get; set; }
        public int kind_item_course_id { get; set; }
        public int kind_item_chapter_id { get; set; }
        public int kind_item_dir_id { get; set; }
        public int resources_tag_id { get; set; }
        public string file { get; set; }
        public string image { get; set; }
        public string ext_name { get; set; }
        public string file_size { get; set; }
        public string lyric { get; set; }
        public string rotation_img { get; set; }
        public int rotation_times { get; set; }
        public string one_reference { get; set; }
        public string pathjson { get; set; }
        public int download_num { get; set; }
        public int admin_id { get; set; }
        public int attachment_id { get; set; }
        public string cover { get; set; }
        public string[] rotation_img_text { get; set; }
        public string lyric_text { get; set; }
    }

}
